<?php
/* @var $this ImageController */
/* @var $model Image */
/* @var $form bootstrap.widgets.TbActiveForm */
?>


<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<?php echo $form->textFieldRow($model,'id',array('class'=>'span3')); ?>

		<?php echo $form->textFieldRow($model,'name',array('class'=>'span3','maxlength'=>255)); ?>

		<?php echo $form->textFieldRow($model,'slug',array('class'=>'span3','maxlength'=>255)); ?>

		<?php echo $form->textAreaRow($model,'description',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->dropDownListRow($model,'mediaFormat',$model->getMediaOptions()); ?>
<?php echo $form->textFieldRow($model,'url',array('size'=>60)); ?>
<?php echo $form->checkBoxRow($model,'thumbnail'); ?>

		<?php echo $form->textFieldRow($model,'dateTaken',array('class'=>'span3','maxlength'=>255)); ?>

	<?php echo $form->dropDownListRow($model,'galleryId',$model->getGalleryOptions()); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
'label'=>'Search',
		)); ?>
	</div>

<?php $this->endWidget(); ?>

